
<table>
	<tr align="center">
		<th width="40">序号</th>
		<th>流水号</th>
		<th>通道</th>
		<th>主叫</th>
		<th>被叫</th>
		<th>通话时长</th>
		<th>费用</th>
		<th>状态</th>
		<th>通话时间</th>
	</tr>
	{[foreach name=outer key=key item=item from=$result]}
	{[assign var="no" value="`$key+$pager->from+1`"]}
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor=''">
		<td>{[$no]}</td>
		<td>{[$item.id]}</td>
		<td>{[$item.channel|truncate:12:"...":true]}</td>
		<td><a href="javascript:void(0)" onclick="Common.number(event, '{[$item.src]}', '{[$smarty.request.cdr_s]}')">{[$item.src_t.s]}</a></td>
		<td><a href="javascript:void(0)" onclick="Common.number(event, '{[$item.dst]}', '{[$smarty.request.cdr_s]}')">{[$item.dst_t.s]}</a></td>
		<td>{[$item.billsec|time]}</td>
		<td>{[$item.cost|money]}</td>
		<td>{[$item.status_t]}</td>
		<td>{[$item.calldate|date_format:'%Y-%m-%d %H:%M:%S']}</td>
	</tr>
	{[/foreach]}
</table>

{[include file="footer.tpl"]}

<script type="text/javascript" src="js/tel/cdr/my/list.js?r={[$smarty.now]}"></script>
